// pages/achievement/warn-detail/warn-detail.js
import { getWarnDetail } from '../../../network/other'
Page({
  data: {
    info:{}
  },
  onLoad: function (options) {
    this._getWarnDetail(options.order_id)
  },
  //     网络请求        //
async _getWarnDetail(data){
    const res = await getWarnDetail(data)
    if(res.code === 200){
      this.setData({
        info: res.data
      })
    }
  }
})